<?php

return array(

	'status' => array(
		'ST_NONE' => '未审核',
		'ST_COMMIT' => '提交审核',
		'ST_PASSED' => '审核通过',
		'ST_UNPASSED' => '审核未通过',
	),
	
	'rules' => array(
		'class' => 'DefaultRuleParser',
		'config' => array(
			'owner' => array(
				'*' => array('view'),
				'ST_NONE' => array('edit', 'delete'),
				'ST_UNPASSED' => array('commit', 'edit', 'delete'),
			),
			AdminUser::ROLE_OPERATOR => array(
				'ST_NONE' => array('passed', 'unpassed'),
				'ST_COMMIT' => array('passed', 'unpassed'),
			),
		),
	),
	
	'_import' => array(
		array('rules.config.*', 'status.common//rules.config.*'),
		array('rules.roleDefines.*', 'status.common//rules.roleDefines.*'),
	),
	
);